#pragma once
#include "Collection.h"
#include "Object.h"
#include "SpaceShip.h"


class View
{
private:
	Collection<SpaceShip>* friendlyObjects;
	Collection<InteractiveObject>* enemyObjects;
	Collection<BaseObject>* staticObjects;
	
	
	static void Reshape(int width, int height);
	static void SetupOpenGL();
public:
	void DisplayFrame(void);
	View();
	void Initialise(Collection<SpaceShip>* friendlyObjects,Collection<InteractiveObject>* enemyObjects,Collection<BaseObject>* staticObjects);
	void SetupDisplayList();	
	void Stop();
};